package	com.mes.entity.jyy;

import com.mes.utils.PageBean;

/**
 *
 *@ClassName: ApproveDetail
 *@Description: 
 *@Author jyy
 *@Date 2019-07-22 17:27:25
 *@version 1.0
*/
public class ApproveDetail extends PageBean{
	/** null*/
	private Long id;
	/** 审批表id*/
	private Long aid;
	private Approve approve;
	public Approve getApprove() {
		return approve;
	}
	public void setApprove(Approve approve) {
		this.approve = approve;
	}
	/** 审批人id*/
	private Long pid;
	/** 审批状态  -1未审批，0待审批，1审批通过 2审批驳回*/
	private String state;
	/** 审批意见*/
	private String idea;
	/** 审批时间*/
	private String datetimes;
	/** 审批级别顺序*/
	private int grade;
	public void setId(Long id){
		this.id = id;
	}
	public Long getId(){
		return id;
	}
	public void setAid(Long aid){
		this.aid = aid== null ? null : aid;
	}
	public Long getAid(){
		return aid;
	}
	public void setPid(Long pid){
		this.pid = pid== null ? null : pid;
	}
	public Long getPid(){
		return pid;
	}
	public void setState(String state){
		this.state = state== null ? null : state;
	}
	public String getState(){
		return state;
	}
	public void setIdea(String idea){
		this.idea = idea== null ? null : idea.trim();
	}
	public String getIdea(){
		return idea;
	}
	public String getDatetimes() {
		return datetimes;
	}
	public void setDatetimes(String datetimes) {
		this.datetimes = datetimes;
	}
	public void setGrade(int grade){
		this.grade = grade;
	}
	public int getGrade(){
		return grade;
	}
}
